﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AQMProject
{
    class EmpfehlungDAO
    {
        public void Insert()
        {
        }

        public void Update()
        {
        }

        public void Delete()
        {
        }

        public List<empfehlung> Select()
        {
            using (AQMDataDataContext db = new AQMDataDataContext())
            {
                List<empfehlung> data = (from c in db.empfehlung
                                   select c).ToList();
                return data;
            }
        }

        public List<empferkennung> SelectAlleKennungen()
        {
            using (AQMDataDataContext db = new AQMDataDataContext())
            {
                List<empferkennung> data = (from c in db.empferkennung
                                         select c).ToList();
                return data;
            }
        }
    }
}
